#include<iostream>
using namespace std;
typedef long long LL;
int main()
{
	double ans = 0;
	for (int i = 1; i <= 100; i++) {
		double x = 1.0 / i;
		ans += x;
	}
	cout << ans << endl;
	return 0;
}